//
//  RHHomeCollectionViewCell.m
//  RuiHeAppApp
//
//  Created by Yan Chen on 2023/7/13.
//

#import "RHHomeCollectionViewCell.h"

@interface RHHomeCollectionViewCell()



@end

@implementation RHHomeCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {

if (self = [super initWithFrame:frame]) {
    
    self.contentView.backgroundColor = kColorRGB(255, 255, 255);
    
    if (!_productImgV) {
        _productImgV = [[UIImageView alloc]init];
        _productImgV.image = kImage(@"Home_guangao-1");
        [_productImgV.layer setCornerRadius:8];
        [_productImgV.layer setMasksToBounds:YES];
        [self.contentView addSubview:_productImgV];
        
        [_productImgV mas_makeConstraints:^(MASConstraintMaker *make) {
            
            make.edges.insets(UIEdgeInsetsZero);
        }];
        
    }
    
 }
    return self;
    
}


@end
